Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gl-sp-frontend

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-sp-frontend

Common code for SharePoint 2013/2016 using among web front-end development such as ES6+ and TypeScript

  • 7.6.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gl-sp-frontend

version downloads downloads

What is this repository for?

This package (glaucioleonardo-sharepoint-frontend) is a common code for SharePoint 2013/2016 using among web front-end development such as ES6+ and TypeScript.

This package contains the types for using with Typescript.

How do I get set up?

The easiest way to install this library is via npm using the following commands:

  • Latest version npm install gl-sp-frontend --save;
  • Available versions npm install gl-sp-frontend@version --save;
  • If you need to support old browsers (tested in IE10+), just install those packages polyfills and import as the following sequence:

This is how you should include in your code and voila \o/:

import * as promise from 'es6-promise';
import 'whatwg-fetch';

class MyBeautifulClass {
    constructor() {
        promise.polyfill();
    }
}

If you are using Angular 2+, just import these packages inside polyfill.js and in the section:
/** IE10 and IE11 requires the following for external source of SVG when using <use> tag */
include promise.polyfill(); and everything should work fine!

If you are using only browser version:

  • For ES5 version importing via
<!DOCTYPE html>
 <html lang="en">
 <head>
    <meta charset="UTF-8">
    <title>gl-sp-frontend</title>
    ...
 </head>
 <body>
    ...
    <!-- Include here -->
    <script src="https://github.com/glaucioleonardo/gl-sp-frontend/tree/master/lib/bundle.js"></script>
    <!-- or just download this repo and refer to the bundle.js like this -->
    <script src="js/bundle.js"></script>
 </body>
 </html>
  • In case you are using ES+, just use the bundle.js inside lib/es6

Macro features

  • Core: Setup
  • Retrieve list items
  • User permissions

Other features is going to be included frequently.

Other packages used

I'm really thankful for those packages creators!

Keywords

FAQs

Package last updated on 05 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc